/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ru.jSkyRoom.matcher.builder.major;

import java.util.Set;
import ru.jSkyRoom.interfaces.major.Armor;
import ru.jSkyRoom.interfaces.major.Enchantment;
import ru.jSkyRoom.interfaces.major.Keyword;
import ru.rakev.matcher.builder.CollectionMatcherBuilder;
import ru.rakev.producer.builder.CollectionProducerBuilder;
import ru.jSkyRoom.producer.builder.major.ArmorProducerBuilder;
import ru.jSkyRoom.producer.builder.major.EnchantmentProducerBuilder;

/**
 *
 * @author Rakev
 */
public class EnchantmentMatcherBuilder<F, C extends Enchantment> extends MajorMatcherBuilder<F, C> {

    public static <T extends Enchantment> EnchantmentMatcherBuilder<T, T> create() {
        return new EnchantmentMatcherBuilder<>(EnchantmentProducerBuilder.<T>create());
    }

    public EnchantmentMatcherBuilder(EnchantmentProducerBuilder<F, C> producerBuilder) {
        super(producerBuilder);
    }

    @Override
    protected EnchantmentProducerBuilder<F, C> getProducerBuilder() {
        return (EnchantmentProducerBuilder<F, C>) super.getProducerBuilder();
    }
}
